import { post, remove, get, put } from './api'

//获取职能列表
export const getMenuCodes = (args={}) => {
    const url = '/usermgt/employee';
    const body = {
        method: 'getMenuCodes',
        args: JSON.stringify(args)
    };
    return post(url, body)
};
export const getMenus = (args={}) => {
    const url = '/usermgt/menu';
    const body = {
        method:'',
        args: JSON.stringify(args)
    };
    return post(url, body)
};
